using Game.Board;
using JetBrains.Annotations;
using UI.UIGame.Menu.SortTile;

namespace Session
{
    public interface ISession
    {
        /// <summary>
        ///     拼图图片路径
        /// </summary>
        public string JigsawImagePath { get; }

        /// <summary>
        ///     初始化时，是否旋转 Tile
        /// </summary>
        public bool RotateTile { get; }

        /// <summary>
        ///     拼图板的信息
        /// </summary>
        [CanBeNull]
        public Board Board { get; }

        /// <summary>
        ///     启动预排序 Tile
        /// </summary>
        public bool IsPreSortingStartedTile { get; }

        /// <summary>
        ///     当前排序策略
        /// </summary>
        public SortPolicy CurrentSortPolicy { get; }

        /// <summary>
        ///     鼠标是否覆盖在游戏UI上
        /// </summary>
        public bool IsMouseOverlayOnGameUI { get; }
    }
}